package com.adhere.system.pojo.dto;

import lombok.Data;

import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;

@Data
public class PasswordDto {

    private String newPassword;

    @Size(min = 10, max = 16, message = "密码的长度应该在10-16位之间")
    private String oldPassword;
}
